//
//  WYHttpServer+WYUserMessage.h
//  Boss
//
//  Created by admin on 2018/6/11.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYHttpServer.h"

@interface WYHttpServer (WYUserMessage)
+(void)sendMessageWithPhone:(NSString *)phone SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+(void)masterLoginWithUserName:(NSString *)phone WithCode:(NSString *)code SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+(void)upLoadImage:(NSData *)data WithUrl:(NSString *)url SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+(void)uploadImageSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+ (void)PUTWithURLStr:(NSString *)urlStr
             filePath:(NSString *)filePath SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+(void)bindingWechatWithPhone:(NSString *)phone WithCode:(NSString *)code SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

//+(void)
+(void)donePersonalMessageWithSex:(NSString *)sex WithBirthday:(NSString *)birthday WithProvince:(NSString *)province WithCity:(NSString *)city WithPrefecture:(NSString *)prefecture SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+(void)getShareRedPacketSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)getNewMyInfoSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;




@end
